<?php
require_once 'nOrm/TNOrmAdapter.inc';
require_once 'models/productpage.inc';

/**
 * @author kras
 * 
 * @orm.table yandex_direct(product_page)
 * @orm.identity explicit
 * @orm.key ProductPage
 * 
 * @property TMSProductPage $ProductPage {@orm.reference Id(product_page)}
 */
class TYandexDirectBanner extends TNOrmObject {
	const ST_NEW = 'NEW';
	const ST_PUBLISHED = 'PUB';
	const ST_MODERATE = 'MOD';
	const ST_RESUMED = 'RES';
	const ST_STOPED = 'STP';
	
	
/**
 * @var TMSProductPage
 */	
	protected $_orm_product_page_;

/**
 * @var string
 * @orm.scalar banner
 */	
	public $Banner;
	
/**
 * @var string
 * @orm.scalar campaign
 */	
	public $Campaign;
	
/**
 * @var string
 * @orm.scalar title
 */	
	public $Title;
	
/**
 * @var string
 * @orm.scalar advtext
 */	
	public $Text;
	
/**
 * @var string
 * @orm.scalar minus_keywords
 */	
	public $MinusKeywords;
	
/**
 * @var string
 * @orm.scalar phrases
 */	
	public $Phrases;
	
/**
 * @var string
 * @orm.scalar stage
 */	
	public $Stage;
} 